//var page = require("webpage").create();
//page.open("http://www.toastmemo.cn", function(status) {
//	var title = page.evaluate(function() {
//		return document.title;
//	});
//	console.log("Page title is " + title);
//	phantom.exit();
//})
var page = require('webpage').create();
page.onConsoleMessage = function(msg) {
  console.log('Page title is qubie' + msg);
};
page.open("http://www.pcsoft.com.cn", function(status) {
  page.evaluate(function() {
    console.log(document.title);
  });
  phantom.exit();
});
